package com.cqut.hfh.ordering.service;

import com.cqut.hfh.ordering.pojo.EhyRole;
import com.cqut.hfh.ordering.pojo.MerchantType;

import java.util.List;
import java.util.Map;

/**
 * create by gtt on 2019/6/26
 */
public interface IMerchantTypeService {
    List<MerchantType> getType();

    List<Map<String, Object>> getMerchantType(String limit, String page);

    Integer getCount();

    int delById(String typeId);

    //int delFoodMerchantById(String typeId);

    Map<String, Object> findById(String typeId);

    int updateMerchantType(MerchantType merchantType);

    List<Map<String, Object>> getMerchantTypeByName(String limit, String page, String type_name);

    int saveMerchantType(MerchantType merchantType);
}
